package com.gisquest.cloud;

import com.gisquest.cloud.common.config.LogMediaField;
import com.gisquest.cloud.common.config.LogTypeField;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@MapperScan(basePackages = {"com.gisquest.cloud.dao.mapper"})
@ComponentScan(basePackages = {"com.gisquest.cloud"})
@EnableConfigurationProperties({LogMediaField.class, LogTypeField.class})
public class Application {

    public static void main(String[] args) {

        SpringApplication.run(Application.class, args);
    }
}
